Linear scales topic
Linear scales map a continuous, quantitative input domain to a continuous output range using a linear transformation (translate and scale). If the range is also numeric, the mapping may be inverted. Linear scales are a good default choice for continuous quantitative data because they preserve proportional differences. Each range value y can be expressed as a function of the domain value x: y = mx + b.
Classes
- ScaleIdentity Linear scales
- Identity scales are a special case of linear scales where the domain and range are identical.
- ScaleIdentity Linear scales
- Identity scales are a special case of linear scales where the domain and range are identical.
- ScaleIdentity Linear scales
- Identity scales are a special case of linear scales where the domain and range are identical.
-
ScaleLinear<
Y> Linear scales -
Linear scales map a continuous, quantitative input
domain
to a continuous outputrange
using a linear transformation (translate and scale). -
ScaleLinear<
Y> Linear scales -
Linear scales map a continuous, quantitative input
domain
to a continuous outputrange
using a linear transformation (translate and scale). -
ScaleLinear<
Y> Linear scales -
Linear scales map a continuous, quantitative input
domain
to a continuous outputrange
using a linear transformation (translate and scale). - ScaleRadial Linear scales
- Radial scales are a variant of linear scales where the range is internally squared so that an input value corresponds linearly to the squared output value.
- ScaleRadial Linear scales
- Radial scales are a variant of linear scales where the range is internally squared so that an input value corresponds linearly to the squared output value.
- ScaleRadial Linear scales
- Radial scales are a variant of linear scales where the range is internally squared so that an input value corresponds linearly to the squared output value.
Functions
-
tickFormat(
num start, num stop, num count, [String? specifier]) → String Function(num) Linear scales -
Returns a
number format
function suitable for displaying a tick value, automatically computing the
appropriate precision based on the fixed interval between tick values, as
determined by
tickStep
. -
tickFormat(
num start, num stop, num count, [String? specifier]) → String Function(num) Linear scales -
Returns a
number format
function suitable for displaying a tick value, automatically computing the
appropriate precision based on the fixed interval between tick values, as
determined by
tickStep
. -
tickFormat(
num start, num stop, num count, [String? specifier]) → String Function(num) Linear scales -
Returns a
number format
function suitable for displaying a tick value, automatically computing the
appropriate precision based on the fixed interval between tick values, as
determined by
tickStep
.